package com.shop.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.shop.core.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 分类属性表
 * </p>
 *
 * @author lpx610
 * @since 2023-11-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class PmsAttr extends BaseEntity {

    private static final long serialVersionUID = 1L;

    public PmsAttr(String id) {
        super(id);
    }

    /**
     * 分类名称
     */
    private String name;

    /**
     * 分类id
     */
    private String categoryId;

    /**
     * 1-spu 0-sku
     */
    private Integer type;

    /**
     * 排序
     */
    private Long sort;
}
